<template>
  <div class="user-data">
    <el-card :body-style="{ padding: '0px' }">
      <div slot="header">
        <tools-btn
          :toolsData="toolsData"
          @addData="addData"
          @refresh="refresh"
          @search="search"
          @fieldSet="fieldSet"
          @hasOperation="hasOperation"
        />
      </div>
    </el-card>
  </div>
</template>

<script>
import ToolsBtn from "../../components/Tools/ToolsBtn"
export default {
  name: "UserManagement",
  data() {
    return {
      toolsData: {
        title: "用户管理"
      }
    };
  },
  components: {
    ToolsBtn
  },
  methods: {
    //新增用户
    addData(){
      // 新增
      console.log('新增')
    },
    // 数据刷新
    refresh(){
      //刷新
      console.log('刷新')
    }
  }
};
</script>

<style lang="scss" scoped>
</style>
